package ylg.com.cn.beuty.entity;

import java.io.Serializable;

/**
* @Description: TODO 
* @author wang   用户类
* @date 2015-7-22 下午4:14:36 
* @version V1.0   
*/
public class User implements Serializable {


	/**
	 *
	 *
	 * {
	 "createTime": 1456198681785,
	 "earnings": 0,
	 "headImgUrl": "",
	 "id": "402880e4530c323901530c3484d80002",
	 "loginType": 2,
	 "nickName": "美狸美妆用户",
	 "phone": "13552997385",
	 "sex": 0,
	 "status": 0,
	 "updateTime": 1456214869623,
	 "userAccount": "QQhao",
	 "userPassword": "654321",
	 "userType": 0
	 }
	 */

	private long createTime;
	private String headImgUrl;//用户头像的url
	private String id;
	private String nickName;
	private String phone;
	private int sex;
	private long updateTime;
	private String userAccount;
	private String userPassword;
	private int userType;
	private String token;

	public int getLoginType() {
		return loginType;
	}

	public void setLoginType(int loginType) {
		this.loginType = loginType;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getEarnings() {
		return earnings;
	}

	public void setEarnings(String earnings) {
		this.earnings = earnings;
	}

	public int getAttention() {
		return attention;
	}

	public void setAttention(int attention) {
		this.attention = attention;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getIsAttention() {
		return isAttention;
	}

	public void setIsAttention(int isAttention) {
		this.isAttention = isAttention;
	}

	private int loginType;
	private int age;
	private String  area;
	private String earnings;
	private int attention;
	private int status;
	private int isAttention;

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public void setUpdateTime(long updateTime) {
		this.updateTime = updateTime;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public long getCreateTime() {
		return createTime;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public String getId() {
		return id;
	}

	public String getNickName() {
		return nickName;
	}

	public String getPhone() {
		return phone;
	}

	public int getSex() {
		return sex;
	}

	public long getUpdateTime() {
		return updateTime;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public int getUserType() {
		return userType;
	}
}
